Skip to content

feat(nova): Adds custom Nova scheduler filter for host traits#2092

Open
nicholaskuechler wants to merge 1 commit into
mainfrom
PUC-1736-20260622-0936
Open

feat(nova): Adds custom Nova scheduler filter for host traits#2092
nicholaskuechler wants to merge 1 commit into
mainfrom
PUC-1736-20260622-0936

Conversation

@nicholaskuechler

@nicholaskuechler nicholaskuechler commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

This is a custom nova scheduler filter allowing us to target ironic baremetal nodes based on their traits:

Set a custom trait on a baremetal node:

openstack baremetal node add trait 609a8c97-32a2-4308-95ff-e4256706d28f CUSTOM_NICK

Then we can target a build to the node with the CUSTOM_NICK trait:

openstack server create \
    --flavor gp2.small \
    --image 5048de36-4c01-4047-b638-195e639cb1e3 \
    --nic net-id=demo-project \
    --key-name nick \
    --use-config-drive \
    --hint trait:CUSTOM_NICK=required \
    nick-traits-20260625

@nicholaskuechler nicholaskuechler force-pushed the PUC-1736-20260622-0936 branch 9 times, most recently from d1f94e4 to d806068 Compare June 26, 2026 14:50
@nicholaskuechler nicholaskuechler force-pushed the PUC-1736-20260622-0936 branch from d806068 to 9d444b0 Compare June 26, 2026 14:52
@nicholaskuechler nicholaskuechler marked this pull request as ready for review June 26, 2026 14:52
@nicholaskuechler nicholaskuechler requested a review from a team June 26, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant